package test;

public final class SettingsView {

	static int WATSON_ENGINE = 1;
	static int SWOOGLE_ENGINE = 2;
	
	static String OWL ="OWL";
	static String UML="UML";
	static String RDFS="RDFS";
	
	 static int engine;
	 static String searchTerms;
	 static String ontologyType;
	
	 
	public static void loadSettings(String terms, String ontoType, String engineType) {
		searchTerms = terms;
		ontologyType = ontoType;
		if (engineType.equals("WATSON"))
			engine = 1;
		else if (engineType.equals("SWOOGLE"))
			 engine = 2;				
	}
	
	
	public static void  defaultSettings(){
	    engine =  WATSON_ENGINE;
		//engine =  SWOOGLE_ENGINE;
		searchTerms="cat";
		ontologyType=OWL;
		
	}
	public static String getSearchTerms() { return searchTerms; }
	public static int getSelectedEngine() { return engine; }
	public static String getOntologyType() { return ontologyType; }
}
